/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lanSimulation.internals;

import lanSimulation.LogManager;

/**
 *
 * @author farooq
 */
public class Document implements Message{

    protected String text;

    public Document(String text){
        this.text = text;
    }

    public String getText(){

        return text;

    }

    public void print(LogManager logman){
        logman.log(text);
        logman.flush();
    }

}
